{include file="header.tpl" title="Duyen lien ket"}
<form action="" method="post" name="lienket" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td width="15%">{$lbl_maKH}</td>
    <td width="24%" style="color:#FF0000"><input name="TERMINTCD" id="TERMINTCD" type="text" style="background:{$colorTERMINTCD}" value="{$TERMINTCD}" size="20" maxlength="10" {if $activefield eq 'enabled' } readonly="readonly" {/if} />
      *
      <input type="submit" name="find" value="    " id="replacement_find" /></td>
    <td width="16%">{$lbl_TrangThai}</td>
    <td width="45%"><span style="color:#FF0000">
      <select name="STATUS" size="1" style="background:{$colorSTATUS}"; {if $activefield eq 'enabled' } disabled="disabled" {/if}>
        
      {foreach from=$cbo_STATUS key=k item=v}
	  	
        <option value="{$k}" {if $k eq $activeSTATUS} selected="selected" {/if} >{$v}</option>
        
       {/foreach}
    
    
      </select>
      *
      <input name="hiddenSTATUS" type="hidden" value="{$STATUS}" />
    </span></td>
  </tr>
  <tr>
    <td>{$lbl_KyHanTu}</td>
    <td><input name="FRMTERM" id="FRMTERM" type="text" value="{$FRMTERM}" style="background:{$colorFRMTERM}; text-align:right"  size="3" maxlength="5" onkeypress="return numberOnly(event);" readonly="readonly"/>
        <select name="FRMTERMCD" size="1" disabled="disabled" >
        {foreach from=$cboTERMCD key=k item=v}
     
         <option value="{$k}" {if $k eq $FRMTERMCD} selected="selected" {/if} >{$v}</option>
          {/foreach}
    </select>
        <input name="hiddenFRMTERMCD" type="hidden" value="{$FRMTERMCD}" /></td>
    <td>{$lbl_KyHanDen} </td>
    <td><input name="TOTERM" id="TOTERM" type="text" value="{$TOTERM}" style="background:{$colorTOTERM}; text-align:right" size="3" maxlength="5" onkeypress="return numberOnly(event);" readonly="readonly"/>
        <select name="TOTERMCD" size="1" disabled="disabled">
          
          
        {foreach from=$cboTERMCD key=k item=v}
        
          <option value="{$k}" {if $k eq $TOTERMCD} selected="selected" {/if} >{$v}</option>
          
          {/foreach}
      
        </select>
        <input name="hiddenTOTERMCD" type="hidden" value="{$TOTERMCD}" /></td>
  </tr>
  <tr>
    <td>{$lbl_LaiSuat}</td>
    <td><input name="INTRATE" type="text" style="background:{$colorlaisuat}; text-align:right" value="{$INTRATE}" size="20" maxlength="12" onblur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" readonly="readonly"/></td>
	<td>{$lbl_MaLaiSuat}</td>
		<td><input name="INTRATECD" id="INTRATECD" type="text" style="background:{$colormaLS}" value="{$INTRATECD}" size="20" maxlength="5" readonly="readonly" /></td>
  </tr>
  <tr>
    <td>{$lbl_SanPham}</td>
    <td colspan="3"><span style="color:#FF0000">
      <select id="PRDCODE" name="PRDCODE" size="1"  style="background:{$colorPRDCODE};" disabled="disabled">
      <option value=""></option>	
	  {foreach from=$cbo_PRDCODE key=k item=v}  
	  
       <option value="{$k}" {if $PRDCODE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
         {/foreach}  
      
      </select>
    *
    <input type="hidden" value="{$PRDCODE}" id="PRDCODEtmp" name="PRDCODEtmp" />
</span></td>
  </tr>
  
<tr>
<td colspan="4">
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
  <td align="right" nowrap="nowrap" colspan="4">
  <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'TERMINTCD-STATUS');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input value="{$lbl_tuchoi}" name="tuchoi" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}/>
 <input value="{$lbl_duyet}" name="duyet" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}  />  </td>
</tr>
<tr>
  <td colspan="4"><input value="{$lbl_lichsuthaydoi}" name="lichsuthaydoi" type="button" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" onclick="mywindow = window.open('lich_su_par_fdintcddetail.php?TERMINTCD={$TERMINTCD}&PRDCODE={$PRDCODE}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   {foreach from=$chuyentrang key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
{include file="footer.tpl"}
